//
//  Target_Purchase.m
//  CharonTVProject
//
//  Created by karong on 2023/8/10.
//

#import "Target_Purchase.h"
#import "WSSubscribeController.h"
#import "WSRechargeController.h"

@implementation Target_Purchase
- (id)Action_charonTV_subscribe:(NSDictionary *)params {
    WSSubscribeController * targetVC = (WSSubscribeController *)[self instantiateViewControllerWithName:@"WSSubscribeController"];
    return targetVC;
}

- (id)Action_charonTV_recharge:(NSDictionary *)params {
    WSRechargeController * targetVC = (WSRechargeController *)[self instantiateViewControllerWithName:@"WSRechargeController"];
    return targetVC;
}

- (UIViewController *)instantiateViewControllerWithName:(NSString *)name {
   return [self instantiateViewControllerWithStoryboardNam:name identifier:name];
}

- (UIViewController *)instantiateViewControllerWithStoryboardNam:(NSString *)storyboard identifier:(NSString *)identifier{
   return [[UIStoryboard storyboardWithName:storyboard bundle:nil] instantiateViewControllerWithIdentifier:identifier];
}
@end
